
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/> 
<title>泡班</title>
<link rel="stylesheet" href="__PUBLIC__/app/css/normalize.css">
<link rel="stylesheet" href="__PUBLIC__/app/css/swiper.min.css">
<link rel="stylesheet" href="__PUBLIC__/app/css/common.css">
</head>
<body>
    
    <div class="page">
    	<!-- banner -->
    	<div class="banner">
    		<div class="swiper-wrapper">
                <volist name="ad" id="vo">

	            <div class="swiper-slide">
					<p>{$vo.title}</p>
                    <a href="{$vo.url}"><img src="__PUBLIC__/ad_img/{$vo.img}" alt=""></a>
	            </div>

                </volist>
	        </div>
    		<!-- Add Pagination -->
    		<div class="swiper-pagination"></div>
    	</div>
    	<!-- listview -->       
        <ul class="listview">
            <volist name="news" id="vo">
            <li><a href="{$vo.url}">
                <div class="item">
                    <div class="img-wrap">
                        <img src="__PUBLIC__/news_img/{$vo.img}" alt="">
                    </div>
                    <div class="item-content">
                        <h2>{$vo.title}</h2>
                        <p>{$vo.content}</p>
                    </div>
                </div>
            </a></li>
            </volist>
        </ul>

    </div>
	

	<!-- js -->
    <!-- <script src="http://192.168.31.185:8080/target/target-script-min.js#anonymous"></script> -->
    <script src="__PUBLIC__/app/js/jquery.js"></script>
    <script src="__PUBLIC__/app/js/swiper.min.js"></script>
    <script>
	    $(function() {

	    	var swiper = new Swiper('.banner', {
    	        pagination: '.swiper-pagination',
                autoplay : 5000
    	    });
	    });
    </script>
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script>
        // 数据统计
        var _czc = _czc || [];
        _czc.push(["_setAccount", "1254059001"]);
        _czc.push(['_trackEvent', '泡吧', '页面浏览', '','','']);
        // 微信分享
        wx.config({
            debug: false,
            appId: '<?php echo $signPackage["appId"];?>',
            timestamp: '<?php echo $signPackage["timestamp"];?>',
            nonceStr: '<?php echo $signPackage["nonceStr"];?>',
            signature: '<?php echo $signPackage["signature"];?>',
            jsApiList: [
                'checkJsApi',
                'onMenuShareTimeline',
                'onMenuShareAppMessage',
                'onMenuShareQQ',
                'onMenuShareWeibo'
            ]
        });

        window.page_config = {
            "share": {
                "imgUrl": "http://"+window.location.host+"__PUBLIC__/app/images/share.png",
                'title': '泡班',
                desc: '泡班—像泡吧一样泡班',
                link: window.location.href
            },
            "share2": {
                "imgUrl": "http://"+window.location.host+"__PUBLIC__/app/images/share.png",
                'title': '泡班—像泡吧一样泡班',
                link: window.location.href
            },
        };
        wx.ready(function() {
            wx.onMenuShareAppMessage(page_config.share);
            wx.onMenuShareTimeline(page_config.share2);
            wx.onMenuShareQQ(page_config.share);
        });
    </script>
    <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan style='display:none' id='cnzz_stat_icon_1254059001'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1254059001' type='text/javascript'%3E%3C/script%3E"));</script>
</body>
</html>